import { createRouter, createWebHistory } from 'vue-router'
import HomePage from '../views/HomePage.vue'
import TestMode from '../views/TestMode.vue'
import GameMode from '../views/GameMode.vue'
import ControlMode from '../views/ControlMode.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomePage
    },
    {
      path: '/test',
      name: 'test',
      component: TestMode
    },
    {
      path: '/game',
      name: 'game',
      component: GameMode
    },
    {
      path: '/control',
      name: 'control',
      component: ControlMode
    }
  ],
})

export default router
